package com.tongze.common.mq;

import com.tongze.common.mq.model.AppPushMQ;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 接收MQ消息
 * 业务： 新订单提醒 通知
 * @author zx
 * @site https://www.jeequan.com
 * @date 2021/01/04 15:25
 */
@Slf4j
@Component
public class AppPushMQReceiver implements AppPushMQ.IMQReceiver {
    @Override
    public void receive(AppPushMQ.MsgPayload payload) {
        log.info("接收支付成功app推送MQ, msg={}", payload.toString());
    }

}
